package com.example.hms.service;

import com.example.hms.entity.User;
import com.example.hms.ulit.Result;

import javax.servlet.http.HttpServletRequest;

public interface UserServive {
    Result login(String userId, String userPassword, HttpServletRequest request);

    Result info(HttpServletRequest request);

    Result selectAllUser(String userId,
                         String userName,
                         String roleName);
    Result insert(User user);
    Result update(User user);
    Result delete(String userId);
}
